package com.atjava.webspider.model;

import java.util.List;

import com.atjava.jox.annotation.ClassProps;
import com.atjava.jox.annotation.FieldProps;
import com.atjava.jox.annotation.FieldProps.ElementType;

@ClassProps(alias="variable")
public class Variable {
	
	@FieldProps
	private String name;
	
	@FieldProps(type = ElementType.ELEMENT)
	private String regexp;
	
	@FieldProps
	private int groupNum;
	
	private List<Object> values;
	
	public String getName() {
		return name;
	}

	public void setName(String key) {
		this.name = key;
	}

	public int getGroupNum() {
		return groupNum;
	}

	public void setGroupNum(int groupNum) {
		this.groupNum = groupNum;
	}

	public String getRegexp() {
		return regexp;
	}

	public void setRegexp(String regexp) {
		this.regexp = regexp;
	}

	public List<Object> getValues() {
		return values;
	}

	public void setValues(List<Object> values) {
		this.values = values;
	}
}
